namespace Mockery.Core
{
    /// <summary>
    /// Repository state handler that responds to changes in the mockery state
    /// </summary>
    public interface IRepositoryStateHandler
    {
        /// <summary>
        /// Responsible for coordinating the mock repository state with
        /// the state of the mockery
        /// </summary>
        /// <param name="mockeryState">the state of the mockery</param>
        void SetState(MockeryState mockeryState);
    }
}